<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" isELIgnored="false" session="true"%>

<%@taglib prefix="s" uri="http://www.springframework.org/tags"%>

<%
	String path = request.getContextPath();

	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE html>

<html>

<head>

<base href="<%=basePath%>">

<title><s:message code="M_6700_BIS_MTRL_MANAGEMENT_TAG" /></title>
<%@ include file="/page/comPage/comCSS.html"%>
<%@ include file="/page/comPage/navbar.html"%>
</head>
<body>

	<div class="container-fluid">
		<div class="col-lg-12 col-md-12 col-sm-12 btnDivCss">
			<button class="btn btn-info" id="query_btn"><s:message code="QUERY_TAG" /></button>
			<button class="btn btn-primary" id="add_btn"><s:message code="ADD_TAG" /></button>
			<button class="btn btn-warning" id="update_btn"><s:message code="UPDATE_TAG" /></button>
			<button class="btn btn-primary" id="copy_btn"><s:message code="COPY_TAG" /></button>
			<button class="btn btn-danger" id="delete_btn"><s:message code="DELETE_TAG" /></button>
			<button class="btn btn-success" id="save_btn"><s:message code="SAVE_TAG" /></button>
			<button class="btn btn-warning" id="rollback_btn"><s:message code="ROLLBACK_TAG" /></button>
			<button class="btn btn-primary" id="clear_btn"><s:message code="CLEAR_TAG" /></button>
		</div>

		<div class="col-lg-4 col-md-4 col-sm-4 leftDiv">
			<fieldset>
				<legend><s:message code="MTRL_LIST_TAG" /></legend>
			</fieldset>
			<div id="mtrlListDiv" class="col-md-4">
				<table id="mtrlListGrd" style="height: 1px;"></table>
				<div id="mtrlListPg"></div>
			</div>
		</div>

		<div class="col-lg-8 col-md-8 col-sm-8 rightDiv">
			<div class="col-lg-12 col-md-12 col-sm-12">
				<fieldset>
					<legend><s:message code="MTRL_INFO_TAG" /></legend>
				</fieldset>
				<form id="mtrlConditionForm" class="form-horizontal">
					<div class="form-group col-lg-6 col-md-6 col-sm-6">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6 keyCss" for="mtrlProdIDTxt">
							<s:message code="MTRL_PROD_ID_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<input type="text" id="mtrlProdIDTxt" class="form-control" />
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6">
						<label class="control-label col-lg-6 col-md-6 col-sm-6 keyCss" for="mtrlProdDscTxt"> 
							<s:message code="MTRL_PROD_DSC_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<input type="text" id="mtrlProdDscTxt" class="form-control">
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6 keyCss" for="mtrlCateSel">
							<s:message code="MTRL_CATE_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<select id="mtrlCateSel" class="form-control" style="width: 100%"></select>
						</div>
					</div>
	
					<div class="form-group col-lg-6 col-md-6 col-sm-6">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6 keyCss" for="mtrlMkrSel">
							<s:message code="MTRL_MKR_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<select id="mtrlMkrSel" class="form-control" style="width: 100%"></select>
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6" for="mtrlUnitSel">
							<s:message code="MTRL_UNIT_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<select id="mtrlUnitSel" class="form-control" style="width: 100%"></select>
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6 hidden">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6" for="mtrlUseModeSel">
							<s:message code="MTRL_USE_MODE_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<select id="mtrlUseModeSel" class="form-control" style="width: 100%"></select>
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6 hidden">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6 modeCss" for="mtrlRunModeSel"> 
							<s:message code="MTRL_RUN_MODE_TAG" />
						</label>
						<div class="col-sm-7 col-md-7 col-lg-7">
							<select id="mtrlRunModeSel" class="form-control" style="width: 100%"></select>
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6 hidden">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6" for="mtrlChgCateSel">
							<s:message code="MTRL_CHANGE_CATE_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<select id="mtrlChgCateSel" class="form-control" style="width: 100%"></select>
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6" for="mtrlQRSCateSel"> 
							<s:message code="MTRL_QRS_CATE_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<select id="mtrlQRSCateSel" class="form-control" style="width: 100%"></select>
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6" for="mtrlStdWgtTxt"> 
							<s:message code="MTRL_STD_WEIGHT_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<input type="text" id="mtrlStdWgtTxt" class="form-control numberCss">
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6 hidden">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6" for="mtrlEmpyWgtTxt"> 
							<s:message code="MTRL_EMPTY_WEIGHT_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<input type="text" id="mtrlEmpyWgtTxt" class="form-control">
						</div>
					</div>
					
					<div class="form-group col-lg-6 col-md-6 col-sm-6">
						<label class="control-label ol-lg-6 col-md-6 col-sm-6" for="mtrlSafeQtyTxt"> 
							<s:message code="MTRL_SAFE_STK_TAG" />
						</label>
						<div class="ol-lg-6 col-md-6 col-sm-6">
							<input type="text" id="mtrlSafeQtyTxt" class="form-control numberCss">
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>

	<!-- 查询对话框 -->
	<div id="queryMtrlDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="title" aria-hidden="true">
		<div class="modal-dialog">
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
					<h4 class="modal-title">
						<s:message code="QUERY_CONDITION_TAG" />
					</h4>
				</div>

				<!--Modal header-->

				<div class="modal-body">
					<div class="row">
						<form id="queryMtrlDialog_mtrlForm" class="form-horizontal">
							<div class="control-group ">
								<label class="control-label col-sm-4" for="queryMtrlDialog_mtrlProdIDTxt">
									<s:message code="MTRL_PROD_ID_TAG" />
								</label>
								<div class="col-sm-4">
									<input id="queryMtrlDialog_mtrlProdIDTxt" class="form-control" />
								</div>
								<div class="col-sm-4">
									<span id="queryMtrlDialog_helpLineSpn" class="help-inline"> 模糊查询请使用<span style="color: red; font-weight: bold;">*</span>
									</span>
								</div>
							</div>
						</form>
					</div>
				</div>
				<!--Modal body-->
				<div class="modal-footer">
					<a id="queryMtrlDialog_cancelBtn" class="btn" data-dismiss="modal"> <s:message code="CANCEL_TAG" />
					</a> <a id="queryMtrlDialog_queryBtn" class="btn btn-primary"> <s:message code="QUERY_BTN_TAG" />
					</a>
				</div>
			</div>
		</div>
	</div>
</body>
<%@ include file="/page/comPage/comJS.html"%>
<script type="text/javascript" src="js/page/6000/6700.js?v=2017041401"></script>
</html>